package com.zr.gdms.serviceimpl;

import com.zr.gdms.dao.SdepartSelectStudentdao;
import com.zr.gdms.daoimpl.SdepartSelectStudentdaoimpl;
import com.zr.gdms.service.SdepartSelectStudentService;

import net.sf.json.JSONObject;

public class SdepartSelectStudentServiceimpl implements SdepartSelectStudentService {
	SdepartSelectStudentdao sd=new SdepartSelectStudentdaoimpl();
	JSONObject j=new JSONObject();
	@Override
	public JSONObject getStudents(int page, int rows) {
		// TODO Auto-generated method stub	
		j.put("total", sd.getStudentsCount());		
		j.put("rows",sd.getSdepartSelStudent(page, rows));
		return j;
	}
	
	

}
